
package com.chongchong.basicdata.wrapper;

import com.chongchong.basicdata.entity.NoInfo;
import com.chongchong.basicdata.vo.NoInfoVO;
import com.chongchong.core.mp.support.BaseEntityWrapper;
import com.chongchong.core.tool.utils.BeanUtil;


/**
 * 包装类,返回视图层所需的字段
 *
 * @author en
 * @since 2022-08-11
 */
public class NoInfoWrapper extends BaseEntityWrapper<NoInfo, NoInfoVO>  {

    public static NoInfoWrapper build() {
        return new NoInfoWrapper();
    }

	@Override
	public NoInfoVO entityVO(NoInfo noInfo) {
		NoInfoVO noInfoVO = BeanUtil.copy(noInfo, NoInfoVO.class);

		return noInfoVO;
	}

}
